﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Crossroad.System.Common.Model
{
    ///<summary>
    ///中国地区数据
    ///</summary>
    [SugarTable("area_cn")]
    public partial class AreaCn : ModelContext
    {
        public AreaCn()
        {
        }

        /// <summary>
        /// Desc:id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public int id { get; set; }

        /// <summary>
        /// Desc:地区名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string name { get; set; }

        /// <summary>
        /// Desc:上级区域id
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "parent_id")]
        public int? parentId { get; set; }

    }
}
